{{include file='template/backend/includes/header.tpl'}}

<body>
<!--[if lt IE 9]><div class="ie"><![endif]-->
<!--[if lt IE 8]><div class="ie7"><![endif]-->	
	<!-- Header -->	
	<!-- Server status -->
	{{include file='template/backend/includes/header/server_status.tpl'}}
	<!-- End server status -->

	<!-- Main nav -->
	{{include file='template/backend/includes/menu/top_menu.tpl'}}
	<!-- End main nav -->
	
	<!-- Sub nav -->	
	{{include file='template/backend/includes/header/sub_navigation.tpl'}}
	<!-- End sub nav -->
	
	<!-- Status bar -->
	{{include file='template/backend/includes/header/status_bar.tpl'}}
	<!-- End status bar -->
	
	<div id="header-shadow"></div>
	<!-- End header -->
	
	<!-- Always visible control bar -->
	{{*
        {{include file='template/backend/includes/header/control_bar.tpl'}}
        *}}
	<!-- End control bar -->

	<!-- Content -->
	<article class="container_12">
		
		{{if !empty($message)}}
			<ul class="message success">
				<li>{{$message}}</li>
				<li class="close-bt"></li>
			</ul>	
		{{/if}}
		
		{{if !empty($error_message)}}
			<ul class="message error">
				<li>{{$error_message}}</li>
			</ul>
		{{/if}}
		
		<section class="grid_8">
			{{if isset($main_content)}}
				{{$main_content}}
			{{/if}}		
		</section>
                
		{{*
		<section class="grid_4">
			{{if !isset($grid)}}
				 {{include file='template/backend/includes/right.tpl'}} 
			{{/if}}				
		</section>
		*}} 

		<div class="clear"></div>
		{{if isset($grid)}}{{$grid}}{{/if}}
	</article>	
	<!-- End content -->	
	<!-- Footer -->	
	{{include file='template/backend/includes/footer.tpl'}}
	<!-- End Footer -->	
        
        
<!--[if lt IE 8]></div><![endif]-->
<!--[if lt IE 9]></div><![endif]-->
</html>